package com.medical.view.wicket.html.modal;

import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow;

import com.medical.view.admin.user.AddUserPanel;
import com.medical.view.wicket.html.panal.MedPanel;

public class MedPop extends ModalWindow {

	public MedPop(String id, String title, AddUserPanel addUserPanel) {
		super(id);

		// Set sizes of this ModalWindow. You can also do this from the HomePage
		// but its not a bad idea to set some good default values.
		setInitialWidth(650);
		setInitialHeight(550);

		setTitle(title);

		// Set the content panel, implementing the abstract methods
		setContent(addUserPanel);
	}

}